<%@page import="com.system.uitls.CommonUtil"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common.jsp" %>
<%
	pageContext.setAttribute("create_time",CommonUtil.getCurDate());
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>审批</title>
    <script type="text/javascript">
    	$().ready(function(){
    		
    		
    	});
    	
    	function doSave(){
   			var map = Form.formToBean("winForm");
       		ajax.remoteCall("com.system.dao.ApproveDao:update",[map],function(reply){
       			var result = reply.getResult();
       			alert(result.value);
       			if(result.type == "success"){
       				var dlg = Dialog.getInstance("view");
       	    		dlg.getParam("window").mygrid.reload();
       	    		dlg.close();
       			}
       		});
    	}
    </script>
  </head>
  <body style="overflow:hidden">
  	<form id="winForm">
  		<input name="id" type="hidden" value="${param.id}"> 
		<table border="0" cellpadding="0" cellspacing="0" style="margin-left: 10px;margin-top: 10px">
			<tr height="40px">
				<td width="80px" align="right">审批人：</td>
				<td width=""><input id="name" name="name" type="text" class="textbox" style="width: 140px;color: blue;" value="${currentUserName }" readonly/></td>
				<td width="" align="right">审批时间：</td>
				<td width=""><input name="create_time" type="text" class="textbox" style="width: 140px;color: blue;" value="${create_time}" readonly/></td>
			</tr>
			<tr height="30px">
				<td width="80px" align="right"><span style="color: red;">*</span>审批结果：</td>
				<td width="" colspan="2">
					<input type="radio" name="approve_result" checked value="1"/>同意&nbsp;&nbsp;
					<input type="radio" name="approve_result" value="0"/>不同意&nbsp;&nbsp;
				</td>
			</tr>
			<tr height="40px" style="margin-top: 10px">
				<td width="80px" align="right" valign="top">审批意见：</td>
				<td colspan="3">
					<textarea name="approve_opinion" rows="8" cols="46"></textarea>
				</td>
			</tr>
	  	</table>
  	</form>
  </body>
</html>
